#pragma once
class thread_job
{
	public:
		thread_job( thread_job *func ) : function( func ) {}
		virtual ~thread_job(void);

		virtual void operator ()() { (*function)(); }
	private:
		thread_job *function;
};

